/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.longview.io.modules.grassbelt.entity;

import java.util.List;

import org.hibernate.validator.constraints.Length;

import com.google.common.collect.Lists;
import com.longview.io.modules.grasscoverage.entity.GrassCoverage;
import com.longview.io.modules.grasstype.entity.GrassType;
import com.longview.io.common.persistence.DataEntity;

/**
 * 草原带管理Entity
 * @author zf
 * @version 2018-04-17
 */
public class SysGrassBelt extends DataEntity<SysGrassBelt> {
	
	private static final long serialVersionUID = 1L;
	private String lon;		// 经度
	private String lat;		// 纬度
	private String name;		// 名称
	private GrassType grasstype;		// 草地类型
	private String stand8val;		// 8月份标准值
	private String standAmount;		// 8月标准产量
	private String standImg;		// 标准图片
	private String remark;		// 备注
	private String month;
	private String grassid;
	public String getGrassid() {
		return grassid;
	}

	public void setGrassid(String grassid) {
		this.grassid = grassid;
	}

	public String getMonth() {
		return month;
	}

	public void setMonth(String month) {
		this.month = month;
	}

	private List<GrassCoverage> grassCoverageList = Lists.newArrayList();
	public List<GrassCoverage> getGrassCoverageList() {
		return grassCoverageList;
	}

	public void setGrassCoverageList(List<GrassCoverage> grassCoverageList) {
		this.grassCoverageList = grassCoverageList;
	}

	public List<String> getCoverage() {
		return coverage;
	}

	public void setCoverage(List<String> coverage) {
		this.coverage = coverage;
	}

	public List<String> getProduction() {
		return production;
	}

	public void setProduction(List<String> production) {
		this.production = production;
	}

	private List<String> coverage = Lists.newArrayList();
	private List<String> production = Lists.newArrayList();
	private List<String> coverageids = Lists.newArrayList();
	public List<String> getCoverageids() {
		return coverageids;
	}

	public void setCoverageids(List<String> coverageids) {
		this.coverageids = coverageids;
	}

	public SysGrassBelt() {
		super();
	}

	public SysGrassBelt(String id){
		super(id);
	}

	@Length(min=0, max=20, message="经度长度必须介于 0 和 20 之间")
	public String getLon() {
		return lon;
	}

	public void setLon(String lon) {
		this.lon = lon;
	}
	
	@Length(min=0, max=20, message="纬度长度必须介于 0 和 20 之间")
	public String getLat() {
		return lat;
	}

	public void setLat(String lat) {
		this.lat = lat;
	}
	
	@Length(min=0, max=60, message="名称长度必须介于 0 和 60 之间")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	public GrassType getGrasstype() {
		return grasstype;
	}

	public void setGrasstype(GrassType grasstype) {
		this.grasstype = grasstype;
	}
	
	public String getStand8val() {
		return stand8val;
	}

	public void setStand8val(String stand8val) {
		this.stand8val = stand8val;
	}
	
	@Length(min=0, max=11, message="8月标准产量长度必须介于 0 和 11 之间")
	public String getStandAmount() {
		return standAmount;
	}

	public void setStandAmount(String standAmount) {
		this.standAmount = standAmount;
	}
	
	@Length(min=0, max=200, message="标准图片长度必须介于 0 和 200 之间")
	public String getStandImg() {
		return standImg;
	}

	public void setStandImg(String standImg) {
		this.standImg = standImg;
	}
	
	@Length(min=0, max=100, message="备注长度必须介于 0 和 100 之间")
	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
	
}